/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.tms.module.roadbook.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springblade.core.tenant.mp.TenantEntity;

import java.time.LocalDateTime;

/**
 * 电子路书实体类
 *
 * @author Blade
 * @since 2022-07-05
 */
@Data
@TableName("tm_road_book")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "RoadBook对象", description = "电子路书")
public class TMRoadBook extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键")
	private Long id;
	/**
	 * 操作类型
	 */
	@ApiModelProperty(value = "操作类型 ")
	private String type;
	/**
	 * 路书id
	 */
	@ApiModelProperty(value = "路书id")
	@TableField("route_planIdre")
	private String routePlanId;
	/**
	 * 路书名称
	 */
	@ApiModelProperty(value = "路书名称")
	private String routePlanName;
	/**
	 * 起点名称
	 */
	@ApiModelProperty(value = "起点名称")
	private String originAddressName;
	/**
	 * 终点名称
	 */
	@ApiModelProperty(value = "终点名称 ")
	private String terminusAddressName;
	/**
	 * 参考里程
	 */
	@ApiModelProperty(value = "参考里程")
	private String referenceDistance;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createdDt;
	/**
	 * 起点经度
	 */
	@ApiModelProperty(value = "起点经度")
	@TableField("origin_dotLon")
	private String originDotLon;
	/**
	 * 起点纬度
	 */
	@ApiModelProperty(value = "起点纬度")
	@TableField("origin_dotLat")
	private String originDotLat;
	/**
	 * 终点经度
	 */
	@ApiModelProperty(value = "终点经度")
	@TableField("terminus_dotLon")
	private String terminusDotLon;
	/**
	 * 终点纬度
	 */
	@ApiModelProperty(value = "终点纬度")
	@TableField("terminus_dotLat")
	private String terminusDotLat;
	/**
	 * 路线详情
	 */
	@ApiModelProperty(value = "路线详情")
	private String routeLocus;
	/**
	 * 路线详情转换后
	 */
	@ApiModelProperty(value = "路线详情转换后")
	private String routeLocusAfter;


}
